package com.csc.data;

import java.io.Serializable;

public class BookObj implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
		private int bookId;
	    private String title;
	    private String author;
	    private String isbn;
	    private String price;
	    
	    public BookObj(){
	    	
	    }
	    public BookObj(int bookId, String title, String author, String isbn)
	    {
	    }

		public String getAuthor() {
			return author;
		}

		public void setAuthor(String author) {
			this.author = author;
		}

		public int getBookId() {
			return bookId;
		}

		public void setBookId(int bookId) {
			this.bookId = bookId;
		}
		
		public String getIsbn() {
			return isbn;
		}

		public void setIsbn(String isbn) {
			this.isbn = isbn;
		}

		public String getPrice() {
			return price;
		}

		public void setPrice(String price) {
			this.price = price;
		}

		public String getTitle() {
			return title;
		}

		public void setTitle(String title) {
			this.title = title;
		}
		public void printObj(){
			System.out.println("BookId: " + getBookId());
			System.out.println("Title: "  + getTitle());
			System.out.println("Author: " + getAuthor());
			System.out.println("ISBN: "   + getIsbn());
			System.out.println("Price: "  + getPrice());
			System.out.println("---------------------------------");
		}		
}
